package com.hanserwei.community.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hanserwei.community.entity.po.ComplaintType;
import com.hanserwei.community.entity.request.complaint.ComplaintTypeSaveRequest;
import java.util.List;

public interface ComplaintTypeService extends IService<ComplaintType> {

    boolean createType(ComplaintTypeSaveRequest request);

    boolean updateType(Integer id, ComplaintTypeSaveRequest request);

    List<ComplaintType> listActive();
}
